﻿using Autofac;
using Zinnia.Kernel.Core;
using Zinnia.Kernel.Inject.Core;

namespace Zinnia.Log
{
    public class LogDependcyInjectRegister : IDependencyInjectRegister
    {
        public void Register(ContainerBuilder builder)
        {
            builder.RegisterInstance(new LogManagerService()).As<ILogManagerService>().SingleInstance();
            builder.RegisterInstance(new LogService("")).As<ILogService>().SingleInstance();
        }
    }
}
